# !/usr/bin/env python3
# encoding=utf-8

# 输出偶数2,4,6,8 if not == 语法可以改成 if !=
number = 1
while number < 10:
  number += 1
  if not number%2 == 0:
    continue # 跳过本轮循环
  else:
    print(number)

print('其他例子')
# 输出1,2,3,4,5
number = 1
while True:
  print(number)
  number += 1
  if number > 5:
    break   # 完全跳出循环体